<!--{include manage_header}-->
<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li> <a href="/manage/category/index.php">分类管理</a></li>
    <!--<li><a href="#">城市列表</a></li>-->
	<li style="float:right;font-size:22px;">
		<a href="javascript::" style="padding-right:30px;color:#3B95C8;">
	    <!--{if $_SESSION['ali_token']}-->
	    ${mb_strimwidth($login_user['realname'],0,10)}
	    <!--{else}-->
	    ${mb_strimwidth($login_user['username'],0,10)}
	    <!--{/if}-->
		</a> 
	</li>
    </ul>
</div>
<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="coupons">
	<!--<div class="dashboard" id="dashboard">
		<ul>${mcurrent_category($zone)}</ul>
	</div>-->
    <div id="content" class="coupons-box clear mainwide">
		<div class="box clear">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head" id="head">
				<div class="formtitle"><span>{$cates[$zone]}</span></div>
					<ul class="filter">
						<li><a href="/ajax/manage.php?action=categoryedit&zone={$zone}" class="ajaxlink">新建{$cates[$zone]}</a></li>
					</ul>
				</div>
                <div class="sect">
					<table id="orders-list" cellspacing="0" cellpadding="5" border="1" bordercolor="#89B4D6" style="width:99%" class="coupons-table">
					<tr>
						<th width="50">ID</th>
						<th width="150">中文名称</th>
						<th width="100">英文名称</th>
						<th width="30">首字母</th>
						<th width="150">
							<!--{if $zone=='group'||$zone == 'credit'}-->
							所属分类
							<!--{elseif $zone == 'area'||$zone == 'shop'}-->
							所属城区
							<!--{else}-->
							自定义分组
							<!--{/if}-->
						</th>
						<th width="60" nowrap>导航</th>
						<th width="60" nowrap>热门</th>
						<th width="60" nowrap>排序</th>
						<th width="100">操作</th>
					</tr>
					<!--{loop $categories $index $one}-->
					<tr ${$index%2?'':'class="alt"'}>
						<td>{$one['id']}</td>
						<td>{$one['name']}</td>
						<td>{$one['ename']}</td>
						<td>${strtoupper($one['letter'])}</td>
						<td>
							<!--{if $zone=='group' || $zone == 'area'||$zone == 'shop'||$zone == 'credit'}-->
								<!--{if $one['fid'] }-->
								{$groups[$one['fid']]['name']}
								<!--{else}-->
								一级大类
								<!--{/if}-->	
							<!--{else}-->
							{$one['czone']}
							<!--{/if}-->
						</td>
						<td>{$one['display']}</td>
                        <td>{$one['is_hot']}</td>
						<td>${intval($one['sort_order'])}</td>
						<td class="op"><a href="/ajax/manage.php?action=categoryedit&id={$one['id']}" class="ajaxlink">编辑</a>｜<a href="/ajax/manage.php?action=categoryremove&id={$one['id']}" class="ajaxlink" ask="确定删除本类别？">删除</a></td>
					</tr>
					<!--{/loop}-->
					<tr><td colspan="9">{$pagestring}</td></tr>
                    </table>
				</div>
            </div>
            <div class="box-bottom"></div>
        </div>
    </div>
</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->

<!--{include manage_footer}-->
